package com.bjpowernode.crm.workbench.service;

import com.bjpowernode.crm.workbench.domain.Activity;

import java.util.List;
import java.util.Map;

/**
 * ClassName:ActivityService
 * Package:com.bjpowernode.crm.settings.service
 * Date:2022/6/8 11:41
 * Description:
 * Author:zsm@zhangshuming.com
 */
public interface ActivityService {
    /**
     * 根据条件查询市场活动
     * @param param
     * @return
     */
    List<Activity> queryActivityListByCondition(Map<String, Object> param);

    void saveCreateActivity(Activity activity);

    Activity queryActivityById(String id);

    void saveEditActivity(Activity activity);

    void deleteActivityData(String[] ids);

    /**
     * 批量上传市场活动记录
     * @param activityList
     */
    void saveImportActivityList(List<Activity> activityList);

    List<Activity> queryActivityByIds(String[] ids);


    Activity queryActivityDetailById(String id);


    List<Activity> queryActivityByClueId(String clueId);

    List<Activity> querysearchActivityByClueId(String clueId, String searchActivityName);

    void deleteClueCorrelate(String activityId, String clueId);

    List<Activity> queryClueActivityByIdList(String clueId, String searchActivityText);
}
